package com.qf.service.Impl;

import com.qf.dao.StudentDao;
import com.qf.entity.Student;
import com.qf.service.StudentService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author 徐老板
 * @date 2020/3/25   8:49
 */
@Service
public class StudentServiceImpl implements StudentService {

    @Resource
    private StudentDao studentDao;

    @Override
    public List<Student> findAll() {
        List<Student> studentList = studentDao.findAll();
        return studentList;
    }
}
